package com.aplana.ccsd.model;

import info.magnolia.module.templatingkit.dam.Asset;

import java.util.List;

/**
 * Проект
 */
public class Project {

	private final String URL;
	private final String title;

	private Asset image;

	/**
	 * Мнение о проекте
	 */
	private String opinion;

	/**
	 * Резюме проекта
	 */
	private String summary;

	/**
	 * описание заказчика
	 */
	private String customerDescription;

	/**
	 * ситуация
	 */
	private String situation;

	/**
	 * решение
	 */
	private String solution;

	/**
	 * результат
	 */
	private String result;

	/**
	 * Список тегов технологий проекта
	 */
	List<Tag> technologyTags;

	/**
	 * Список тегов отраслей проекта
	 */
	List<Tag> industryTags;

	public Project(String title, String uRL) {
		this.title = title;
		URL = uRL;
	}

	public Asset getImage() {
		return image;
	}

	public void setImage(Asset image) {
		this.image = image;
	}

	public String getOpinion() {
		return opinion;
	}

	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}

	public String getTitle() {
		return title;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getCustomerDescription() {
		return customerDescription;
	}

	public void setCustomerDescription(String customerDescription) {
		this.customerDescription = customerDescription;
	}

	public String getSituation() {
		return situation;
	}

	public void setSituation(String situation) {
		this.situation = situation;
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getURL() {
		return URL;
	}

	public List<Tag> getTechnologyTags() {
		return technologyTags;
	}

	public void setTechnologyTags(List<Tag> technologyTags) {
		this.technologyTags = technologyTags;
	}

	public List<Tag> getIndustryTags() {
		return industryTags;
	}

	public void setIndustryTags(List<Tag> industryTags) {
		this.industryTags = industryTags;
	}

	@Override
	public String toString() {
		return "Project [URL=" + URL + ", title=" + title + ", image=" + image
				+ ", opinion=" + opinion + ", summary=" + summary
				+ ", customerDescription=" + customerDescription
				+ ", situation=" + situation + ", solution=" + solution
				+ ", result=" + result + ", technologyTags=" + technologyTags
				+ ", industryTags=" + industryTags + "]";
	}

}
